package com.itheima.service;

import com.itheima.common.PageResult;
import com.itheima.pojo.Articles;

public interface ArticlesService {
    PageResult findPage(Integer page, Integer pagesize, String keyword,Integer state);

    void add(Articles articles);

    void deleteById(Integer id);

    void updateState(Integer id, Integer state);

    void updateById(Integer id, Articles articles);

    Articles findById(Integer id);
}
